use my_vec::MyVec;

use std::sync::{Mutex, Arc};

#[derive(Debug)]
struct A(i32);

impl Drop for A {
    fn drop(&mut self) {
        println!("drop[A] {}", self.0);
    }
}


use std::thread;

fn main() {
    let mut v = Vec::new();

    {
        let a = 9;

        let b = &a;
        v.push(b);

        // v.get(0);
    }
    v.get(0);
}
